[INFO] cloning repository https://github.com/Khushipatel31/ecommerce_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Khushipatel31/ecommerce_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhushipatel31%2Fecommerce_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhushipatel31%2Fecommerce_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 689a941ecaaf1948f6f644a58a3e4b62f97579cb
[INFO] fixing Khushipatel31/ecommerce_rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhushipatel31%2Fecommerce_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Khushipatel31/ecommerce_rust
[INFO] finished tweaking git repo https://github.com/Khushipatel31/ecommerce_rust
[INFO] tweaked toml for git repo https://github.com/Khushipatel31/ecommerce_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Khushipatel31/ecommerce_rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Khushipatel31/ecommerce_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator v0.17.0
[INFO] [stderr]   Downloaded validator_derive v0.17.0
[INFO] [stderr]   Downloaded rkyv_derive v0.7.45
[INFO] [stderr]   Downloaded tokio-cron-scheduler v0.9.4
[INFO] [stderr]   Downloaded rust_decimal v1.37.1
[INFO] [stderr]   Downloaded rkyv v0.7.45
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] [stderr]   Downloaded clickhouse-derive v0.1.1
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded rdkafka v0.36.2
[INFO] [stderr]   Downloaded jiff-static v0.2.14
[INFO] [stderr]   Downloaded clickhouse v0.11.6
[INFO] [stderr]   Downloaded lettre v0.11.17
[INFO] [stderr]   Downloaded bstr v1.12.0
[INFO] [stderr]   Downloaded jiff v0.2.14
[INFO] [stderr]   Downloaded rdkafka-sys v4.8.0+2.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e
[INFO] running `Command { std: "docker" "start" "a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling rust_decimal v1.37.1
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling webpki-roots v1.0.0
[INFO] [stderr]    Compiling winnow v0.7.10
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling lz4-sys v1.11.1+lz4-1.10.0
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]    Compiling num_enum_derive v0.7.3
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling clickhouse-rs-cityhash-sys v0.1.2
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling rdkafka-sys v4.8.0+2.3.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking num_enum v0.7.3
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling tokio-cron-scheduler v0.9.4
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]    Compiling clickhouse-derive v0.1.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]    Compiling validator_derive v0.17.0
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling sealed v0.4.0
[INFO] [stderr]     Checking cron v0.12.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]     Checking email-encoding v0.4.1
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking jiff v0.2.14
[INFO] [stderr]     Checking quoted_printable v0.5.1
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking validator v0.17.0
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking lettre v0.11.17
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking lz4 v1.28.1
[INFO] [stderr]     Checking clickhouse v0.11.6
[INFO] [stderr]     Checking rdkafka v0.36.2
[INFO] [stderr]     Checking ecommerce_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/order_handler.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 |                   let user = match sqlx::query!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 215 | |                     "SELECT name,email FROM users WHERE id = $1",
[INFO] [stdout] 216 | |                     updated_order.order.user_id
[INFO] [stdout] 217 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/order_handler.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 |                   let user = match sqlx::query!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 215 | |                     "SELECT name,email FROM users WHERE id = $1",
[INFO] [stdout] 216 | |                     updated_order.order.user_id
[INFO] [stdout] 217 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/middlewares/auth_middleware.rs:94:39
[INFO] [stdout]    |
[INFO] [stdout] 94 |                       let user_result = sqlx::query!(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 95 | |                         "SELECT id, role, is_active FROM users WHERE id = $1",
[INFO] [stdout] 96 | |                         user_id
[INFO] [stdout] 97 | |                     )
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/middlewares/auth_middleware.rs:94:39
[INFO] [stdout]    |
[INFO] [stdout] 94 |                       let user_result = sqlx::query!(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 95 | |                         "SELECT id, role, is_active FROM users WHERE id = $1",
[INFO] [stdout] 96 | |                         user_id
[INFO] [stdout] 97 | |                     )
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/category_service.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     sqlx::query_as!(
[INFO] [stdout] 24 | |         Category,
[INFO] [stdout] 25 | |         r#"
[INFO] [stdout] 26 | |         INSERT INTO categories (name, slug)
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         slug
[INFO] [stdout] 32 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/category_service.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | /     sqlx::query_as!(
[INFO] [stdout] 46 | |         Category,
[INFO] [stdout] 47 | |         r#"
[INFO] [stdout] 48 | |         UPDATE categories
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         id
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/category_service.rs:72:18
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let result = sqlx::query!("SELECT id FROM categories WHERE id = $1", category_id)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let order = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 29 | |         Order,
[INFO] [stdout] 30 | |         r#"
[INFO] [stdout] 31 | |         INSERT INTO orders (order_number, total_amount, status, user_id, is_active, created_at, updated_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         now
[INFO] [stdout] 38 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let product = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 44 | |             r#"
[INFO] [stdout] 45 | |             SELECT name, price, quantity, category_id
[INFO] [stdout] 46 | |             FROM products
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             item.product_id
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | /         sqlx::query!(
[INFO] [stdout] 64 | |             r#"
[INFO] [stdout] 65 | |             INSERT INTO order_items (order_id, product_id, product_name, quantity, price_at_time, created_at)
[INFO] [stdout] 66 | |             VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |             now
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | /         sqlx::query!(
[INFO] [stdout] 80 | |             r#"UPDATE products SET quantity = quantity - $1, updated_at = $2 WHERE id = $3"#,
[INFO] [stdout] 81 | |             item.quantity,
[INFO] [stdout] 82 | |             now,
[INFO] [stdout] 83 | |             item.product_id
[INFO] [stdout] 84 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let category = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 90 | |             "SELECT id, name FROM categories WHERE id = (SELECT category_id FROM products WHERE id = $1)",
[INFO] [stdout] 91 | |             item.product_id
[INFO] [stdout] 92 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/order_service.rs:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let user = sqlx::query!("SELECT name FROM users WHERE id = $1", user_id)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/order_service.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | /     sqlx::query!(
[INFO] [stdout] 132 | |         "UPDATE orders SET total_amount = $1, updated_at = $2 WHERE id = $3",
[INFO] [stdout] 133 | |         total_amount,
[INFO] [stdout] 134 | |         now,
[INFO] [stdout] 135 | |         order.id
[INFO] [stdout] 136 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/order_service.rs:153:16
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let user = sqlx::query!("SELECT name,email FROM users WHERE id = $1", user_id)
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/product_service.rs:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 |       let existing = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 108 | |         Product,
[INFO] [stdout] 109 | |         r#"
[INFO] [stdout] 110 | |         SELECT * FROM products
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |         id
[INFO] [stdout] 114 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/product_service.rs:137:27
[INFO] [stdout]     |
[INFO] [stdout] 137 |       let updated_product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 138 | |         Product,
[INFO] [stdout] 139 | |         r#"
[INFO] [stdout] 140 | |         UPDATE products SET
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |         id
[INFO] [stdout] 162 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/product_service.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let result = sqlx::query!("SELECT id, name, is_active FROM products WHERE id = $1", id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/category_service.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     sqlx::query_as!(
[INFO] [stdout] 24 | |         Category,
[INFO] [stdout] 25 | |         r#"
[INFO] [stdout] 26 | |         INSERT INTO categories (name, slug)
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         slug
[INFO] [stdout] 32 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]  --> src/services/user_service.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let res = sqlx::query!("SELECT id FROM users WHERE email = $1", email)
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/user_service.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | /         sqlx::query_as!(
[INFO] [stdout] 17 | |             User,
[INFO] [stdout] 18 | |             "SELECT id, name, email, password, role, created_at, updated_at FROM users WHERE email = $1",
[INFO] [stdout] 19 | |             email
[INFO] [stdout] 20 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/user_service.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | /         sqlx::query!(
[INFO] [stdout] 32 | |             "INSERT INTO users (name, email, password, role) VALUES ($1, $2, $3, 'user')",
[INFO] [stdout] 33 | |             name,
[INFO] [stdout] 34 | |             email,
[INFO] [stdout] 35 | |             password
[INFO] [stdout] 36 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/user_service.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | /         sqlx::query_as!(
[INFO] [stdout] 44 | |             User,
[INFO] [stdout] 45 | |             "SELECT id, name, email, password, role, created_at, updated_at FROM users WHERE id = $1",
[INFO] [stdout] 46 | |             id
[INFO] [stdout] 47 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/cron.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let products = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 28 | |         r#"
[INFO] [stdout] 29 | |         SELECT name, quantity, threshold 
[INFO] [stdout] 30 | |         FROM products 
[INFO] [stdout] 31 | |         WHERE quantity < threshold AND is_active = true
[INFO] [stdout] 32 | |         "#
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/cron.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |       let admins = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 45 | |         r#"
[INFO] [stdout] 46 | |         SELECT email FROM users WHERE role = 'admin' AND is_active = true
[INFO] [stdout] 47 | |         "#
[INFO] [stdout] 48 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/category_service.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | /     sqlx::query_as!(
[INFO] [stdout] 46 | |         Category,
[INFO] [stdout] 47 | |         r#"
[INFO] [stdout] 48 | |         UPDATE categories
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         id
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/category_service.rs:72:18
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let result = sqlx::query!("SELECT id FROM categories WHERE id = $1", category_id)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let order = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 29 | |         Order,
[INFO] [stdout] 30 | |         r#"
[INFO] [stdout] 31 | |         INSERT INTO orders (order_number, total_amount, status, user_id, is_active, created_at, updated_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         now
[INFO] [stdout] 38 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let product = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 44 | |             r#"
[INFO] [stdout] 45 | |             SELECT name, price, quantity, category_id
[INFO] [stdout] 46 | |             FROM products
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             item.product_id
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | /         sqlx::query!(
[INFO] [stdout] 64 | |             r#"
[INFO] [stdout] 65 | |             INSERT INTO order_items (order_id, product_id, product_name, quantity, price_at_time, created_at)
[INFO] [stdout] 66 | |             VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |             now
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | /         sqlx::query!(
[INFO] [stdout] 80 | |             r#"UPDATE products SET quantity = quantity - $1, updated_at = $2 WHERE id = $3"#,
[INFO] [stdout] 81 | |             item.quantity,
[INFO] [stdout] 82 | |             now,
[INFO] [stdout] 83 | |             item.product_id
[INFO] [stdout] 84 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/order_service.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let category = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 90 | |             "SELECT id, name FROM categories WHERE id = (SELECT category_id FROM products WHERE id = $1)",
[INFO] [stdout] 91 | |             item.product_id
[INFO] [stdout] 92 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/order_service.rs:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let user = sqlx::query!("SELECT name FROM users WHERE id = $1", user_id)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/order_service.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | /     sqlx::query!(
[INFO] [stdout] 132 | |         "UPDATE orders SET total_amount = $1, updated_at = $2 WHERE id = $3",
[INFO] [stdout] 133 | |         total_amount,
[INFO] [stdout] 134 | |         now,
[INFO] [stdout] 135 | |         order.id
[INFO] [stdout] 136 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/order_service.rs:153:16
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let user = sqlx::query!("SELECT name,email FROM users WHERE id = $1", user_id)
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/product_service.rs:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 |       let existing = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 108 | |         Product,
[INFO] [stdout] 109 | |         r#"
[INFO] [stdout] 110 | |         SELECT * FROM products
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |         id
[INFO] [stdout] 114 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/product_service.rs:137:27
[INFO] [stdout]     |
[INFO] [stdout] 137 |       let updated_product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 138 | |         Product,
[INFO] [stdout] 139 | |         r#"
[INFO] [stdout] 140 | |         UPDATE products SET
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |         id
[INFO] [stdout] 162 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/product_service.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let result = sqlx::query!("SELECT id, name, is_active FROM products WHERE id = $1", id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]  --> src/services/user_service.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let res = sqlx::query!("SELECT id FROM users WHERE email = $1", email)
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/user_service.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | /         sqlx::query_as!(
[INFO] [stdout] 17 | |             User,
[INFO] [stdout] 18 | |             "SELECT id, name, email, password, role, created_at, updated_at FROM users WHERE email = $1",
[INFO] [stdout] 19 | |             email
[INFO] [stdout] 20 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/user_service.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | /         sqlx::query!(
[INFO] [stdout] 32 | |             "INSERT INTO users (name, email, password, role) VALUES ($1, $2, $3, 'user')",
[INFO] [stdout] 33 | |             name,
[INFO] [stdout] 34 | |             email,
[INFO] [stdout] 35 | |             password
[INFO] [stdout] 36 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/user_service.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | /         sqlx::query_as!(
[INFO] [stdout] 44 | |             User,
[INFO] [stdout] 45 | |             "SELECT id, name, email, password, role, created_at, updated_at FROM users WHERE id = $1",
[INFO] [stdout] 46 | |             id
[INFO] [stdout] 47 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/cron.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let products = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 28 | |         r#"
[INFO] [stdout] 29 | |         SELECT name, quantity, threshold 
[INFO] [stdout] 30 | |         FROM products 
[INFO] [stdout] 31 | |         WHERE quantity < threshold AND is_active = true
[INFO] [stdout] 32 | |         "#
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/cron.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |       let admins = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 45 | |         r#"
[INFO] [stdout] 46 | |         SELECT email FROM users WHERE role = 'admin' AND is_active = true
[INFO] [stdout] 47 | |         "#
[INFO] [stdout] 48 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, and `decode`
[INFO] [stdout]  --> src/utils/jwt.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jsonwebtoken::{DecodingKey, EncodingKey, Header, Validation, decode, encode, errors::Error};
[INFO] [stdout]   |                    ^^^^^^^^^^^                       ^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, and `decode`
[INFO] [stdout]  --> src/utils/jwt.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jsonwebtoken::{DecodingKey, EncodingKey, Header, Validation, decode, encode, errors::Error};
[INFO] [stdout]   |                    ^^^^^^^^^^^                       ^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/kafka/consumers/clickhouse_consumer.rs:27:50
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let created_at_dt = DateTime::<Utc>::from_utc(created_at_dt, Utc);
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/kafka/consumers/clickhouse_consumer.rs:27:50
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let created_at_dt = DateTime::<Utc>::from_utc(created_at_dt, Utc);
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ecommerce_app` (bin "ecommerce_app" test) due to 22 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ecommerce_app` (bin "ecommerce_app") due to 22 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e", kill_on_drop: false }`
[INFO] [stdout] a4d9b3f75a7b10da07d795482b85c95416accf2c45b45c0b1f88f24af97f091e
